/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tp.Encapsulation;

/**
 *
 * @author Devon
 */
public
        class Encap
{

    private
            String name;
    private
            String idNum;
    private
            int age;

    public
            int getAge()
    {
        return age;
    }

    public
            String getName()
    {
        return name;
    }

    public
            String getIdNum()
    {
        return idNum;
    }

    public
            void setAge(int newAge)
    {
        age = newAge;
    }

    public
            void setName(String newName)
    {
        name = newName;
    }

    public
            void setIdNum(String newId)
    {
        idNum = newId;
    }
}
